<?php


namespace app\index\business;


use app\common\model\Content;

class contentBus
{
    public $contentModel = null;
    public function __construct()
    {
        $this->contentModel = new Content();
    }

    public function getListBus(){
        $res = $this->contentModel->getAllList();
        return $res;
    }

    public function getDetailBus($id){
        $res = $this->contentModel->getDetail($id);
        return $res;
    }
}